package com.waves.design.flyweight;

/**
 * 抽象享元类
 */
public abstract class IgoChessman {
    public abstract String getColor();

    public void display(){
        System.out.println("旗子颜色："+getColor());
    }
}
